package com.tinem.platform.module.starter.sdk.api;

import com.tinem.platform.module.pojo.vo.link.AddReq;
import com.tinem.platform.module.pojo.vo.link.AddRes;
import com.tinem.platform.module.pojo.vo.network.ip.IpInfoReq;
import com.tinem.platform.module.pojo.vo.network.ip.IpInfoRes;
import com.tinem.platform.module.starter.sdk.core.BaseApi;

/**
 * @author fengzhihao
 * @version v1
 * @program: platform
 * @className NetworkService
 * @description TODO
 * @site
 * @company
 * @create 2022/1/16 23:21:29
 */
public class NetworkService extends BaseApi {

    private static final String MODULE ="platform-cloud-service-network";

    public IpInfoRes ipLocat(IpInfoReq req){
        return post(MODULE,"/ip/locat.api",req).toJavaObject(IpInfoRes.class);
    }
}
